import request from "../utils/request";

// 获取数据+分页+搜索
export const apiUser = (data) => {
  return request({ url: "/api/user", method: "post", data });
};

// 启用/禁用
export const apiUserStatus = (data) => {
  return request({ url: "/api/userStatus", method: "post", data });
};

// 授权/解除授权
export const apiUserAuth = (data) => {
  return request({ url: "/api/userAuth", method: "post", data });
};
